package com.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class User implements Serializable {
    //主键
    @TableId(type = IdType.AUTO)
    private Long id;

    //手机号
    private String phone;

    //邮箱
    private String email;

    //密码
    private String password;

    //盐值
    private String salt;

    private Date createTime;

    private Date updateTime;

    //用户基本信息
    private UserInfo userInfo;

}